Uploaded image for project: 'Advanced Roadmaps'
  1. Advanced Roadmaps
  2. JPOSERVER-2342

Installing current versions of Portfolio to older versions of Jira won't allow user to create a plan and error of Cannot read property 'Deferred' of undefined

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.14.0
    • 2.13.1, 2.13.2, 2.13.3
    • Plan, Usability
    • None

    Description

      Summary

      Installing current versions of Portfolio to older versions of Jira won't allow user to create a plan and error of Cannot read property 'Deferred' of undefined

      Environment

      • Systems using Jira 6.3 -> 7.0.x (other versions might also be effected)
      • Seems this problem can exist in 2.13.x versions so far (possibly others too)

      Steps to Reproduce

      1. Install Jira 6.4.13
      2. Use the UPM in Jira to install a compatible version of Jira Agile (6.7.16 in my case)
      3. Use the UPM in Jira to install Portfolio (2.13.3 in my case)
      4. create a new plan where you select projects/boards and then click next to view that plan

      Expected Results

      You should be able to create/see the plan

      Actual Results

      You can't create that plan
      You get an exception like this one right away:

      Bummer, something has gone terribly wrong here...

      Please try refreshing the page. If the issue continues, please copy and paste the information in the Details button below and send to your Jira Administrator or Atlassian Support.
      Show Details

      Clicking Show details shows you this:

      Cannot read property 'Deferred' of undefined
      
      TypeError: Cannot read property 'Deferred' of undefined
      at Object.createPreDeferred (http://localhost:6413/s/059cb0f695903c22885c6f56561334fc-CDN/en_US63q67d/64028/7/2.13.3/_/download/batch/com.atlassian.jpo:jpo-wr-page-create-plan-scripts/com.atlassian.jpo:jpo-wr-page-create-plan-scripts.js?locale=en-US:2:263273)
      at i.createTransitionDeferred (http://localhost:6413/s/059cb0f695903c22885c6f56561334fc-CDN/en_US63q67d/64028/7/2.13.3/_/download/batch/com.atlassian.jpo:jpo-wr-page-common-shared-scripts/com.atlassian.jpo:jpo-wr-page-common-shared-scripts.js?locale=en-US:24:278928)
      at i.onNextRequested (http://localhost:6413/s/059cb0f695903c22885c6f56561334fc-CDN/en_US63q67d/64028/7/2.13.3/_/download/batch/com.atlassian.jpo:jpo-wr-page-common-shared-scripts/com.atlassian.jpo:jpo-wr-page-common-shared-scripts.js?locale=en-US:24:277419)
      at i.next (http://localhost:6413/s/059cb0f695903c22885c6f56561334fc-CDN/en_US63q67d/64028/7/2.13.3/_/download/batch/com.atlassian.jpo:jpo-wr-page-common-shared-scripts/com.atlassian.jpo:jpo-wr-page-common-shared-scripts.js?locale=en-US:24:276880)
      at y (http://localhost:6413/s/059cb0f695903c22885c6f56561334fc-CDN/en_US63q67d/64028/7/2.13.3/_/download/batch/com.atlassian.jpo:jpo-wr-page-common-libs-only-scripts/com.atlassian.jpo:jpo-wr-page-common-libs-only-scripts.js?locale=en-US:95:21985)
      at v (http://localhost:6413/s/059cb0f695903c22885c6f56561334fc-CDN/en_US63q67d/64028/7/2.13.3/_/download/batch/com.atlassian.jpo:jpo-wr-page-common-libs-only-scripts/com.atlassian.jpo:jpo-wr-page-common-libs-only-scripts.js?locale=en-US:95:21777)
      at f (http://localhost:6413/s/059cb0f695903c22885c6f56561334fc-CDN/en_US63q67d/64028/7/2.13.3/_/download/batch/com.atlassian.jpo:jpo-wr-page-common-libs-only-scripts/com.atlassian.jpo:jpo-wr-page-common-libs-only-scripts.js?locale=en-US:95:19705)
      at n.c.trigger (http://localhost:6413/s/059cb0f695903c22885c6f56561334fc-CDN/en_US63q67d/64028/7/2.13.3/_/download/batch/com.atlassian.jpo:jpo-wr-page-common-libs-only-scripts/com.atlassian.jpo:jpo-wr-page-common-libs-only-scripts.js?locale=en-US:95:21670)
      at Object._triggerMethod (http://localhost:6413/s/059cb0f695903c22885c6f56561334fc-CDN/en_US63q67d/64028/7/2.13.3/_/download/batch/com.atlassian.jpo:jpo-wr-page-common-libs-only-scripts/com.atlassian.jpo:jpo-wr-page-common-libs-only-scripts.js?locale=en-US:501:7772)
      at n.triggerMethod (http://localhost:6413/s/059cb0f695903c22885c6f56561334fc-CDN/en_US63q67d/64028/7/2.13.3/_/download/batch/com.atlassian.jpo:jpo-wr-page-common-libs-only-scripts/com.atlassian.jpo:jpo-wr-page-common-libs-only-scripts.js?locale=en-US:501:21147)
      
      ===================
      === Client Info ===
      ===================
      
      User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36 
      Local time: Fri May 25 2018 09:55:38 GMT-0500 (CDT)
      
      ===================
      === Plugin Info ===
      ===================
      
      Plugin build: 2.13.3
      
      ===================
      === System Info ===
      ===================
      
      Jira Title: 6413 
      Jira Version: 6.4.13
      Agile Version: 6.7.16 
      

      Notes

      It appears there are several older versions of Jira that are end of life, such as 6.3.x up through 7.1.x that are still listed as compatible for many portfolio versions per Portfolio for Jira - Version history. So this leads customers to have an expectation that their older version of Jira can still use the very latest version of Portfolio, when that does not currently seem to be the case.

      Workaround

      I found other versions of Portfolio do not seem to have this problem. You could work around this problem by following these steps:

      1. Uninstall Portfolio from the UPM (Add-ons -> Manage Add-ons). Be sure to remove all 3 Portfolio addons listed there
      2. Download another version such as 2.2.6 from https://marketplace.atlassian.com/apps/1212136/portfolio-for-jira/version-history
      3. save this file to your local machine
      4. In Jira on the manage add-ons page, there is a link to 'Upload add-ons', click this
      5. select the downloaded package to install this older version of portfolio that works with your version of Jira.

      Attachments

        Issue Links

          Activity

            People

              jgeorgeson JamieGeorgeson
              aheinzer Andy Heinzer
              Archiver:
              atibrewal@atlassian.com Aakrity Tibrewal

              Dates

                Created:
                Updated:
                Resolved:
                Archived: